of

public static X509Certificate of(InputStream inputStream)

Creates a X.509 certificate object and initializes it with the data read from the given inputStream.

Return

a certificate object initialized with the data from the input stream

Parameters

inputStream

an input stream with the certificate data

Throws

on parsing errors